package cn.gbase.jiangsu.data.transfer.bean;

import java.util.Date;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
 * 发送短信的Log表.
*/
@Table("sms_log")
public class SmsLog extends BaseDto {

	@Id
	@Column
	private int id;

	/**
	 * 短信类型：1验证码，2收货通知
	 */
	@Column("sms_type")
	private int smsType;

	/**
	 * 手机号.
	 */
	@Column("mobile")
	private String mobile;
	
	/**
	 * 验证码.
	 */
	@Column("code")
	private String code;

	/**
	 * 短信内容.
	 */
	@Column("content")
	private String content;

	/**
	 * 注册时IP地址.
	 */
	@Column("ip")
	private String ip;

	/**
	 * 发送时间.
	 */
	@Column("create_time")
	private Date createTime;
	
	/**
	 * 结果代码.
	 */
	@Column("result_code")
	private int resultCode;
	
	/**
	 * 结果消息.
	 */
	@Column("result_msg")
	private String resultMsg;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getSmsType() {
		return smsType;
	}

	public void setSmsType(int smsType) {
		this.smsType = smsType;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public int getResultCode() {
		return resultCode;
	}

	public void setResultCode(int resultCode) {
		this.resultCode = resultCode;
	}

	public String getResultMsg() {
		return resultMsg;
	}

	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}

}